﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Timetabling.Core.Contracts
{
    /// <summary>
    /// Interfaz generica
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IGeneric<T>
    {
        /// <summary>
        /// Añadir objeto
        /// </summary>
        /// <param name="t"></param>
        void add(T t);
        /// <summary>
        /// Eliminar objeto
        /// </summary>
        /// <param name="t"></param>
        void delete(T t);
        /// <summary>
        /// Editar objeto
        /// </summary>
        /// <param name="t"></param>
        void edit(T t);
    }
}
